/**
 * 麦克风SDK入口文件
 * 导出SDK的所有功能
 */

// 导出主SDK
export { default } from './MicrophoneSDK.js';

// 导出UI组件
export * from './ui/components.js';

// 导出UE5桥接
export * from './ue5/bridge.js';

// 导出核心模块（如果需要直接访问）
export * as audioProcessor from './core/audioProcessor.js';
export * as deviceManager from './core/devices.js';
export * as events from './core/events.js';
export * as utils from './core/utils.js';

// 为浏览器提供全局访问点
if (typeof window !== 'undefined') {
  // 确保MicrophoneSDK已经加载
  import('./MicrophoneSDK.js').then(module => {
    window.MicrophoneSDK = module.default;
  });
} 